<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">



  
  
    
    
  <script src="/lib/pace/pace.min.js?v=1.0.2"></script>
  <link href="/lib/pace/pace-theme-minimal.min.css?v=1.0.2" rel="stylesheet">







<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css" />




  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon.png?v=5.1.4">






  <meta name="keywords" content="科技," />










<meta name="description" content="序经常看见别人自建博客十分的酷炫，自己就想建个博客，网上方法有那么多，弄来弄去最后什么也没弄出来  (其实我也这样)那么我就来讲讲如何使用 Git Pages + Hexo 搭建个人Blog">
<meta name="keywords" content="科技">
<meta property="og:type" content="article">
<meta property="og:title" content="使用 Git Pages + Hexo 搭建个人Blog">
<meta property="og:url" content="http://yoursite.com/2018/08/08/Git-Pages-Hexo-搭建个人Blog/index.html">
<meta property="og:site_name" content="yyy&#39;s Blog">
<meta property="og:description" content="序经常看见别人自建博客十分的酷炫，自己就想建个博客，网上方法有那么多，弄来弄去最后什么也没弄出来  (其实我也这样)那么我就来讲讲如何使用 Git Pages + Hexo 搭建个人Blog">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="https://upload-images.jianshu.io/upload_images/13162601-51feb328e8fb3709.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:image" content="https://upload-images.jianshu.io/upload_images/13162601-212e9d1954918241.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:image" content="https://upload-images.jianshu.io/upload_images/13162601-aa341d04a449f6d1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:image" content="https://upload-images.jianshu.io/upload_images/13162601-c818604f8e1d61e3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:image" content="https://upload-images.jianshu.io/upload_images/13162601-fe3ecbc108afcf07.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:image" content="https://upload-images.jianshu.io/upload_images/13162601-cc6d27952d49ecbc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">
<meta property="og:updated_time" content="2018-08-23T04:10:30.395Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="使用 Git Pages + Hexo 搭建个人Blog">
<meta name="twitter:description" content="序经常看见别人自建博客十分的酷炫，自己就想建个博客，网上方法有那么多，弄来弄去最后什么也没弄出来  (其实我也这样)那么我就来讲讲如何使用 Git Pages + Hexo 搭建个人Blog">
<meta name="twitter:image" content="https://upload-images.jianshu.io/upload_images/13162601-51feb328e8fb3709.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/2018/08/08/Git-Pages-Hexo-搭建个人Blog/"/>






  <script>
  (function(i,s,o,g,r,a,m){i["DaoVoiceObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset="utf-8";m.parentNode.insertBefore(a,m)})(window,document,"script",('https:' == document.location.protocol ? 'https:' : 'http:') + "//widget.daovoice.io/widget/0f81ff2f.js","daovoice")
  daovoice('init', {
      app_id: "d8aa1fe3"
    });
  daovoice('update');
  </script>

  <title>使用 Git Pages + Hexo 搭建个人Blog | yyy's Blog</title>
  








</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/"  class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">yyy's Blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2018/08/08/Git-Pages-Hexo-搭建个人Blog/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="yyy">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/uploads/avatar.jpg">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="yyy's Blog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">使用 Git Pages + Hexo 搭建个人Blog</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2018-08-08T20:45:00+08:00">
                2018-08-08
              </time>
            

            

            
          </span>

          
            <span class="post-category" >
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/建Blog必备/" itemprop="url" rel="index">
                    <span itemprop="name">建Blog必备</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <h4 id="序"><a href="#序" class="headerlink" title="序"></a>序</h4><p>经常看见别人自建博客十分的酷炫，自己就想建个博客，网上方法有那么多，弄来弄去最后什么也没弄出来  <del>(其实我也这样)</del><br><strong>那么我就来讲讲如何使用 Git Pages + Hexo 搭建个人Blog</strong><br><a id="more"></a></p>
<hr>
<h4 id="1-创建Github仓库"><a href="#1-创建Github仓库" class="headerlink" title="1.创建Github仓库"></a>1.创建Github仓库</h4><p>登陆<a href="www.github.com">Github</a> 注册一个账号(如果已有账号就登陆)</p>
<p><img src="https://upload-images.jianshu.io/upload_images/13162601-51feb328e8fb3709.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="QQ图片20180806182854.png"></p>
<p>点击<code>New repository</code></p>
<p><img src="https://upload-images.jianshu.io/upload_images/13162601-212e9d1954918241.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="QQ图片20180806182858.png"></p>
<p>创建你的仓库</p>
<p><strong>仓库名必须是你的 <code>用户名.github.io</code> ！！！</strong></p>
<hr>
<h4 id="2-安装Hexo"><a href="#2-安装Hexo" class="headerlink" title="2.安装Hexo"></a>2.安装Hexo</h4><p>关于安装Hexo这一段内容，建议参考<a href="https://hexo.io/zh-cn/docs/" target="_blank" rel="noopener">官网</a></p>
<p>安装完成后，创建一个博客文件夹</p>
<p>win+r 启动cmd</p>
<p>进入你的博客文件夹<br><code>cd /Users/Myblog/hexo</code></p>
<p>进行初始化</p>
<p><code>hexo init</code></p>
<p>创建好的文件目录(创建好的文件是灰色的)<br><img src="https://upload-images.jianshu.io/upload_images/13162601-aa341d04a449f6d1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="QQ图片20180806190654.png"></p>
<hr>
<h4 id="3-配置Hexo"><a href="#3-配置Hexo" class="headerlink" title="3.配置Hexo"></a>3.配置Hexo</h4><p>打开<code>_config.yml</code> </p>
<blockquote>
<p><strong>作者注:打开这种文件推荐使用 <a href="https://www.sublimetext.com/3" target="_blank" rel="noopener">Sublime</a> 打开</strong></p>
</blockquote>
<blockquote>
<p><a href="https://www.sublimetext.com/" target="_blank" rel="noopener">Sublime</a>是一款非常好用的代码、标记、散文的复杂文本编辑软件 <strong>非常推荐!</strong><br><del>怎么不给广告费：(</del></p>
</blockquote>
<p>配置<code>#Site</code><br><img src="https://upload-images.jianshu.io/upload_images/13162601-c818604f8e1d61e3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="QQ图片20180807112511.png"></p>
<p>然后配置deploy<br><img src="https://upload-images.jianshu.io/upload_images/13162601-fe3ecbc108afcf07.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="QQ图片20180807112647.png"></p>
<p>在<code>repository</code>里写上你的Github仓库地址 格式大致是<code>https://github.com/用户名/仓库地址</code></p>
<hr>
<h4 id="4-启用Next主题"><a href="#4-启用Next主题" class="headerlink" title="4.启用Next主题"></a>4.启用Next主题</h4><p>请可以参考官文<a href="http://theme-next.iissnan.com/getting-started.html#leanclound-page-views" target="_blank" rel="noopener">Next教程</a></p>
<hr>
<h4 id="5-撰写文章"><a href="#5-撰写文章" class="headerlink" title="5.撰写文章"></a>5.撰写文章</h4><p>运行 cmd<br>进入你的博客文件夹</p>
<p>新建文章<br><code>hexo new &quot;文章名&quot;</code></p>
<p>这样，你的文章 (文章名.md) 就保存在<code>source/_posts</code>目录下。<br>如果要编辑就进入该目录<br>但这个文件是<em>.md</em> 即Markdown ，所以要使用Markdown编辑器</p>
<blockquote>
<p><strong>作者注:推荐使用 <a href="http://pad.haroopress.com/user.html" target="_blank" rel="noopener">Haroopad</a> </strong></p>
</blockquote>
<blockquote>
<p><a href="http://pad.haroopress.com/user.html" target="_blank" rel="noopener">Haroopad</a>是一款最好用的markdown编辑软件 <strong>非常推荐!</strong><br><del>怎么又不给广告费：(</del></p>
</blockquote>
<p>写完了文章，就差上传了</p>
<p><strong>请严格安照以下顺序执行</strong><br>运行 cmd<br>进入你的博客文件夹</p>
<p>执行<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">hexo g</span><br><span class="line">hexo d</span><br></pre></td></tr></table></figure></p>
<p>如果出现 <code>Deployer not found: github</code>或<code>Deployer not found: git</code></p>
<p>则输入<br><code>npm install hexo-deployer-git --save</code></p>
<p>在访问你的仓库地址 格式大致是<code>仓库名.github.io</code><br><strong>这样，你的个人博客就建好啦！</strong></p>
<hr>
<h4 id="6-文章设置"><a href="#6-文章设置" class="headerlink" title="6.文章设置"></a>6.文章设置</h4><p>文章开头<br><img src="https://upload-images.jianshu.io/upload_images/13162601-cc6d27952d49ecbc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="QQ图片20180807121926.png"></p>
<p>从上往下分别是 文章题目，日期，标签</p>
<p>请自行填写</p>
<hr>
<h4 id="注意事项"><a href="#注意事项" class="headerlink" title="注意事项"></a>注意事项</h4><ul>
<li><p>如果你发现文章在主页上全部显示，那么请在适当位置加上<code>&lt;!--more--&gt;</code>即可</p>
</li>
<li><p>如果你按照上面的指示或自行修改文件内容，那么请记住：<strong>文件的冒号与内容之间必须加一个空格</strong></p>
</li>
</ul>
<hr>
<h4 id="7-创建新的页面"><a href="#7-创建新的页面" class="headerlink" title="7.创建新的页面"></a>7.创建新的页面</h4><p><code>hexo new page &quot;页面名称&quot;</code></p>
<p>标签页面<br><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br></pre></td><td class="code"><pre><span class="line">menu:</span><br><span class="line">  home: / || home</span><br><span class="line">  about: /about/ || user</span><br><span class="line">  tags: /tags/ || tags</span><br><span class="line">  categories: /categories/ || th</span><br><span class="line">  archives: /archives/ || archive</span><br><span class="line">  schedule: /schedule/ || calendar</span><br><span class="line">  #sitemap: /sitemap.xml || sitemap</span><br><span class="line">  #commonweal: /404/ || heartbeat</span><br></pre></td></tr></table></figure></p>
<p>在cmd上输入<code>hexo new page tags</code></p>
<p>如果你要修改标签的名称，请进入<code>hexo/theme/next/languages/zh-Hans.yml</code>中修改添加</p>
<p><strong>如果你想了解建博客攻略请参考<a href="http://theme-next.iissnan.com/" target="_blank" rel="noopener">NexT文档</a> </strong></p>
<hr>
<h4 id="8-进阶"><a href="#8-进阶" class="headerlink" title="8.进阶"></a>8.进阶</h4><p>如果你成功的创建了自己的博客(无Bug) 那么请继续往下走吧 <del>(我才不会告诉你我也在走呢)</del></p>
<p>欢迎参观dalao们的<del>装逼</del>操作指南 <a href="https://blog.csdn.net/qq_33699981/article/details/72716951#t66" target="_blank" rel="noopener">hexo的next主题个性化教程：打造炫酷网站</a></p>
<hr>
<h4 id="9-结语"><a href="#9-结语" class="headerlink" title="9.结语"></a>9.结语</h4><p>如果有不明白或错误的地方请在评论中提出或直接告诉我，我会在第一时间回复！</p>
<p>感谢您对本博客的支持!(鞠躬)</p>

      
    </div>
    
    
    

    

    <div>
      
      <div>
    
        <div style="text-align:center;color: #ccc;font-size:22px;">-------------The End-------------</div>
        <div style="text-align:center;color: #ccc;font-size:18px;">    Thank you for your reading    </div>
    
</div>
      
    </div>

    
      <div>
        <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
  <div>如果您觉得我这篇文章写得好，请给我打赏，您的支持是对我最好的鼓励！</div>
  <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
    <span>打赏</span>
  </button>
  <div id="QR" style="display: none;">

    
      <div id="wechat" style="display: inline-block">
        <img id="wechat_qr" src="/images/wechatpay.jpg" alt="yyy 微信支付"/>
        <p>微信支付</p>
      </div>
    

    

    

  </div>
</div>

      </div>
    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/科技/" rel="tag"><i class="fa fa-tag"></i> 科技</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2018/08/09/Markdown-使用指南/" rel="prev" title="Markdown 使用指南">
                Markdown 使用指南 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
      <div id="lv-container" data-id="city" data-uid="MTAyMC8zODcwNi8xNTIzNA"></div>
    </div>

  

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap">
            文章目录
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview-wrap">
            站点概览
          </li>
        </ul>
      

      <section class="site-overview-wrap sidebar-panel">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image"
                src="/uploads/avatar.jpg"
                alt="yyy" />
            
              <p class="site-author-name" itemprop="name">yyy</p>
              <p class="site-description motion-element" itemprop="description">一花一世界，一生为一人。</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">3</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="/categories/index.html">
                  <span class="site-state-item-count">2</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">2</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/yyyer" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://www.jianshu.com/u/961389811637" target="_blank" title="简书">
                      
                        <i class="fa fa-fw fa-book"></i>简书</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://weibo.com/6624865873/profile?rightmod=1&wvr=6&mod=personinfo&is_all=1" target="_blank" title="微博">
                      
                        <i class="fa fa-fw fa-weibo"></i>微博</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="tencent://QQInterLive/?Cmd=2&Uin=2913379885" target="_blank" title="QQ">
                      
                        <i class="fa fa-fw fa-qq"></i>QQ</a>
                  </span>
                
            </div>
          

          
          

          
          

          

        </div>
      </section>

      
      <!--noindex-->
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">

            
              
            

            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-4"><a class="nav-link" href="#序"><span class="nav-text">序</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#1-创建Github仓库"><span class="nav-text">1.创建Github仓库</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#2-安装Hexo"><span class="nav-text">2.安装Hexo</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#3-配置Hexo"><span class="nav-text">3.配置Hexo</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#4-启用Next主题"><span class="nav-text">4.启用Next主题</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#5-撰写文章"><span class="nav-text">5.撰写文章</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#6-文章设置"><span class="nav-text">6.文章设置</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#注意事项"><span class="nav-text">注意事项</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#7-创建新的页面"><span class="nav-text">7.创建新的页面</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#8-进阶"><span class="nav-text">8.进阶</span></a></li><li class="nav-item nav-level-4"><a class="nav-link" href="#9-结语"><span class="nav-text">9.结语</span></a></li></ol></div>
            

          </div>
        </section>
      <!--/noindex-->
      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">yyy</span>

  
</div>


 <div class="powered-by">
<i class="fa fa-user-md"></i>
<span id="busuanzi_container_site_pv">
    本站共被访问了<span id="busuanzi_value_site_pv"></span>次
</span>
<!-- </div>
  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 进行驱动</div>
-->



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  











  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="true"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>





  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  




  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  










  





  

  

  

  
  

  
  
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({
        tex2jax: {
          inlineMath: [ ['$','$'], ["\\(","\\)"]  ],
          processEscapes: true,
          skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
        }
      });
    </script>

    <script type="text/x-mathjax-config">
      MathJax.Hub.Queue(function() {
        var all = MathJax.Hub.getAllJax(), i;
        for (i=0; i < all.length; i += 1) {
          all[i].SourceElement().parentNode.className += ' has-jax';
        }
      });
    </script>
    <script type="text/javascript" src="//cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
  


  

  


  
<script type="text/javascript"
color="0,0,0" opacity='0.7' zIndex="-2" count="50" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script>


</body>
</html>
<!-- 页面点击小红心 -->
<script type="text/javascript" src="/js/src/love.js"></script>